/*
 * @Author: sichuntian sichuntian@smartmappingtek.com
 * @Date: 2024-04-22 17:44:26
 * @LastEditors: sichuntian sichuntian@smartmappingtek.com
 * @LastEditTime: 2024-04-23 16:24:13
 * @Description:
 *
 */
import dayjs from "dayjs"
const formatDate = (date) => {
  const time = Number(date)
  return dayjs(time).format("YYYY-MM-DD hh:mm:ss")
}
export default (app) => {
  app.config.globalProperties.$filters = {
    formatDate,
  }
}
